package model.event;

import java.io.IOException;
import view.layers.Layer;
import view.layers.UserLayer;

/**
 * 
 *
 * @author rhaq
 * @version 1.00 2009-05-11 Initial submission.
 */
public class EventGenerator
{
	private Layer userLayer;
	
	private UserLayer eventLayer;
	
	/**
	 * 
	 */
	public EventGenerator(Layer userLayer, UserLayer eventLayer)
	{
		this.userLayer = userLayer;
		this.eventLayer = eventLayer;
	}


	/**
	 * 
	 * 
	 * @return
	 * @throws IOException 
	 */
	public Event generatePoliceChase() throws IOException
	{
		return new PoliceChase(eventLayer, userLayer);
	}



	/**
	 * 
	 * 
	 * @return
	 */
	public Event generateUnderCoverBust()
	{
		return new UnderCoverBust();
	}


	/**
	 * 
	 * 
	 * @return
	 */
	public Event generateTheft()
	{
		return new StashTheft();
	}
}